namespace IrisGenerator.Dal
{
    using System;
    using System.Collections.Generic;
    using System.Data.SqlClient;
    using System.Configuration;
    using System.Data;
    using System.Xml;


    public partial class MetatypeEquivalences : IDisposable
    {

        public void CleanLinks()
        {

            this._dataAccess.CreateProcedureCommand("sp_Metatype_Equivalences_CleanLinks");
            this._dataAccess.ExecuteNonQuery();
        

        }

        public virtual System.Data.DataSet ConvertToMetatype(string TypeName,System.Nullable<System.Guid> TAR_ID)
        {
            this._dataAccess.CreateProcedureCommand("ConvertToMetatype");
            this._dataAccess.AddParameter("TYP_NAME", TypeName, ParameterDirection.Input);
            this._dataAccess.AddParameter("TAR_ID", TAR_ID, ParameterDirection.Input);
            
            DataSet value = this._dataAccess.ExecuteDataSet();
            return value;
        }
    }
}
